package exam.test15;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Endstart
 * Date: 2020-12-12
 * Time: 11:03
 */
public class Shark extends Animal {
    private boolean aggressive;

    public Shark(String color, String type, boolean aggressive) {
        super(color, type);
        this.aggressive = aggressive;
    }

    public boolean isAggressive() {
        return aggressive;
    }

    public void prey() {

    }

    @Override
    public void swim() {

    }
}
